import QtQuick
import QtQuick.Controls.Material

Item {
    width: labelWidth
    height: labelHeight

    property real labelWidth: 200
    property real labelHeight: 70

    property string label_Data: "标签内容"
    property real label_pointSize: Cpp_Config.Language_Type === 1 ? 35 :  Cpp_Config.Language_Type === 2 ? 20 : 20
    property bool label_Bold: true
    property string label_FontColor: "black"

    property string labelBack: "transparent"
    property real labelBorderWidth: 3
    property string labelBorderColor: "transparent"

    Label{
        width: labelWidth
        height: labelHeight
        text: qsTr(label_Data)
        color: label_FontColor
        font.pointSize: label_pointSize
        font.bold: label_Bold
        verticalAlignment: Text.AlignVCenter
        horizontalAlignment: Text.AlignHCenter

        background: Rectangle{
            anchors.fill: parent
            color: labelBack
            radius: 10
            border.width: labelBorderWidth
            border.color: labelBorderColor
        }



    }


}
